- draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
- getHeight
int getHeight()
Undocumented in source. Be warned that the author may not have intended to support it.
- getTexture
IHipTexture getTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
- getTextureHeight
int getTextureHeight()
Undocumented in source. Be warned that the author may not have intended to support it.
- getTextureWidth
int getTextureWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
- getVertices
HipSpriteVertex[] getVertices()
Undocumented in source. Be warned that the author may not have intended to support it.
- getWidth
int getWidth()
Undocumented in source. Be warned that the author may not have intended to support it.
- isFlippedX
bool isFlippedX()
Undocumented in source. Be warned that the author may not have intended to support it.
- isFlippedY
bool isFlippedY()
Undocumented in source. Be warned that the author may not have intended to support it.
- setAngle
void setAngle(float angle)
Same thing as setRotation, but receives in Degrees
- setColor
void setColor(HipColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
- setFlippedX
void setFlippedX(bool flip)
Undocumented in source. Be warned that the author may not have intended to support it.
- setFlippedY
void setFlippedY(bool flip)
Undocumented in source. Be warned that the author may not have intended to support it.
- setPosition
void setPosition(float x, float y)
Undocumented in source. Be warned that the author may not have intended to support it.
- setRegion
void setRegion(float u1, float v1, float u2, float v2)
Undocumented in source. Be warned that the author may not have intended to support it.
- setRegion
void setRegion(IHipTextureRegion region)
Undocumented in source. Be warned that the author may not have intended to support it.
- setRegion
void setRegion(TextureCoordinatesQuad c)
Undocumented in source. Be warned that the author may not have intended to support it.
- setRotation
void setRotation(float rotation)
Undocumented in source. Be warned that the author may not have intended to support it.
- setScale
void setScale(float scaleX, float scaleY)
Undocumented in source. Be warned that the author may not have intended to support it.
- setScroll
void setScroll(float x, float y)
This function is most useful for single images. For instance backgrounds, probably, if you have a
texture atlas or a spritesheet, this function is not useful
- setTexture
void setTexture(IHipTexture texture)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTexture
void setTexture(IHipAssetLoadTask task)
Undocumented in source. Be warned that the author may not have intended to support it.
- setTiling
void setTiling(float x, float y)
Sets the tiling factor for this sprite. Default is 1.